package zhihuilan.service;

import zhihuilan.dto.MyCategoryStaffDto;
import zhihuilan.dto.WxMiniPageDto;
import zhihuilan.entity.MyCategoryShop;
import zhihuilan.entity.MyCategoryStaff;
import zhihuilan.params.query.MyCategoryShopQueryParam;
import zhihuilan.params.query.MyCategoryStaffQueryParam;

import java.util.List;

public interface MyCategoryShopService {

    List<MyCategoryShop> selectList(String name, List<String> ids, Integer staffId, Integer cid);
    List<MyCategoryShop> selectListToEntityParam(MyCategoryShopQueryParam queryParam);

    MyCategoryShop selectById(Integer id);

    MyCategoryShop selectOne(String name,Integer status);

    MyCategoryShop addEntity(MyCategoryShop entity);

    MyCategoryShop updateEntity(MyCategoryShop entity);

    Boolean deletetById(Integer id,Integer staffId);

    Boolean isCreated(Integer status,String name,Integer staffId);

}
